package com.openvid.webrtc.openvid;

import org.webrtc.AudioTrack;
import org.webrtc.IceCandidate;
import org.webrtc.MediaStream;
import org.webrtc.MediaStreamTrack;
import org.webrtc.PeerConnection;
import org.webrtc.VideoTrack;

import java.util.List;

/**
 * @author jinyf
 */
public interface IParticipant {

    String getParticipantName();

    List<IceCandidate> getIceCandidateList();

    void dispose();

    //----------------------------------

    void setConnectionId(String connectionId);

    String getConnectionId();

    //----------------------------------

    void setPeerConnection(PeerConnection peerConnection);

    PeerConnection getPeerConnection();

    //----------------------------------

    AudioTrack getAudioTrack();

    VideoTrack getVideoTrack();

    //----------------------------------

}
